package com.cpit.qualitycontrol.common.enums;

/**
 * Created by xxx on 2017/9/30.  0-未处理，1-未审核，2-已完成，3-待整改
 */
public enum SubTaskStatusEnum {
    UNTREATED(0, "未处理"),
    UNCHECK(1, "未审核"),
    END(2, "已完成"),
    UNDERCORRECT(3, "待整改");

    private Integer code;

    private String message;

    SubTaskStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
